package com.itheima.test5;

/**
 * @Author:gy
 * @Date: 2025/09/03 15:04
 * @Description:
 */
public class Demo {
    public static void main(String[] args) throws InterruptedException {
        MyThread m1 = new MyThread("小帅");
        MyThread m2 = new MyThread("小美");
        MyThread m3 = new MyThread("小华");
        m1.start();
        m2.start();
        m3.start();
        Thread.sleep(2000);
        System.out.println(m1.getName()+m1.getAl());
        System.out.println(m2.getName()+m2.getAl());
        System.out.println(m3.getName()+m3.getAl());

    }
}
